CPSW\Gateway\Stripe\Card_Payments B

Total Complexity 90
Dependencies 8
Dependents 1
Total lines 591
Lines of code 413
Logical lines of code 193
Comment lines 121
Methods 14
Properties 3

Methods 14

Method Rating Maintainability Complexity Lines of code
get_icon()
A
48 16 26
add_payment_method()
A
44 15 40
verify_intent()
A
45 14 32
payment_fields()
A
43 10 48
process_payment()
A
41 8 55
prepare_order_source()
S
51 7 26
init_form_fields()
S
36 1 100
modify_successful_payment_result()
S
52 4 26
cpsw_payment_complete_order_status()
S
64 5 9
enable_saved_cards()
S
76 4 3
__construct()
S
52 2 21
is_product()
S
79 2 3
init_supports()
S
64 1 12
create_payment_token_for_user()
S
62 1 12